<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link rel="stylesheet"
	href="frontDeskManager/css/frontDeskOrderInfo.css?id=<%=new Date().getTime()%>" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
	$(function(){
	
			/* var hid = "${user.hid}";
			$.post("frontDeskManager/zhanghuInfo.shtml",{"hid":hid},function(data){
				var t = "<p class='frontDeskIndextot'><img src='frontDeskManager/frontImages/OrderIndex/"+data.toimg+"' /></p>";
				var name = "<span style='color:#c2a36d;font-size:14px;letter-spacing:2px;'>"+data.namesp+"</span>";
				$("#touxiang").append(t);
				$("#frontDeskIndex").append(name);
		
			}) */
	
		
		/* $(".frontDeskIndex-left-zhuti:gt(0)").siblings().css("display","none");
		$(".frontDeskIndex-left-zhuti").click(function(){
			//var zhutiindex = $(".frontDeskIndex-left-zhuti").index(this);
			$(this).siblings().slideToggle();
		}) */
		
	/* 	$("#orderManager").click(function(){
			location.href="frontDeskManager/frontDeskOrder.shtml";
		}) */
		$(".payline:last").remove();
	})
</script>

<link rel="stylesheet" href="css/Header.css?id=<%=new Date()%>" />

</head>
<body>
<%-- 	<%@ include file="/Header.jsp"%> --%>
	<div class="style-width">
		<div class="style-width-one clear">
		<!-- <div style="width:160px;text-align:center;border:1px solid #eaeaea;float:left;margin-top:25px;padding-bottom:20px;box-sizing:border-box;box-shadow: 1px 1px 10px rgba(0,0,0,0.1);border-radius: 4px;" class="frontDeskIndex-left">
		<div id="touxiang">
		
		</div>
		<p style="margin-top:18px;" id="frontDeskIndex">
		<span>欢迎: </span>
		</p>
		<ul>
		<li class="frontDeskIndex-left-zhuti">账号管理</li>
		<li>账户信息</li>
		<li>地址管理</li>
		<li>我的积分</li>
		<li>我的收藏</li>
		</ul>
		<ul>
		<li class="frontDeskIndex-left-zhuti">交易管理</li>
		<li id="orderManager">订单管理</li>
		<li>我的众筹</li>
		</ul>
		<ul>
		<li class="frontDeskIndex-left-zhuti">服务中心</li>
		<li>售后记录</li>
		<li>价格保护</li>
		<li>帮助中心</li>
		</ul>
		</div> -->
		<div style="float:left;width:720px;margin-left:40px;">
		<div>
		<div style="margin-top: 40px;">
				<div style="height: 35px; background-color: #f5f5f5; border: 1px solid #e8e8e8; line-height: 35px; color: #999; padding-left: 20px; box-sizing: border-box;"><span>订单编号：</span>
				<span>${order.olid }</span>
				<span style="margin-left:20px;">时间： </span>
				<span> ${order.olDate }</span></div>
				<div id="addressTab00222">
					<!-- 显示地址信息 -->
					
					<div class="clear address01" style="box-sizing: border-box; padding: 20px; border: 1px solid #e8e8e8;" id="address007">
						<div class="addressInfo001" style="line-height:30px;">
							<div id="address002"><div><span style="color:#999;" data="1" class="shr">收货人：</span><span>${order.sjr }</span></div><div><span style="color:#999;">联系方式：</span><span>${order.phone }</span></div><div><span style="color:#999;">收货地址：</span><span>${order.addressdetails }</span></div></div>
						</div>
						<div style="width:280px;margin-left:400px;margin-top:15px;text-align:right;">
						<div style="border-top:1px dashed #ddd">
						</div>
						<div style="margin-top:20px;">
						<span style="font-size:14px;">应付：</span><span style="margin-left:4px;margin-right:20px;font-size:14px;color:red;">￥${order.money }</span>
						</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div style="margin-top: 30px;">
				<div
					style="height: 35px; background-color: #f5f5f5; border: 1px solid #e8e8e8; line-height: 35px; color: #999; padding-left: 20px; box-sizing: border-box;"
					class="clear shopInfo001">
					<p style="width: 260px; border-right: 1px solid #e8e8e8;">商品信息</p>
					<p
						style="width: 140px; border-right: 1px solid #e8e8e8; text-align: center;">单价</p>
					<p
						style="width: 140px; border-right: 1px solid #e8e8e8; text-align: center;">数量</p>
				<!-- 	<p
						style="width: 120px; border-right: 1px solid #e5e5e5; text-align: center;">小计</p> -->
					<p style="width: 140px; text-align: center;">实付</p>
				</div>
				
				<div
					style="padding: 20px; box-sizing: border-box; border: 1px solid #e8e8e8"
					class="clear">
				<!-- 	<form action="doOrder.shtml" method="post" id="doOrderform"> -->
					<c:forEach items="${order.orderInfos }" var="orderinfo">
					<div class="clear shopInfo001">
						<div style="width: 260px;" class="clear">
							<p class="left"
								style="width: 90px; text-align: center; border: 1px dashed #e8e8e8; margin-right: 18px;">
								<img src="${orderinfo.simg }" width="70px;" />
								<%-- <input type="hidden" class="cartimage" value="${cart.cartimg }" /> --%>
							</p>
							<ul class="left clear" style="margin-top: 18px;">
								<li>${orderinfo.sname}</li>
								<li style="margin-top: 8px;">${orderinfo.stypegg}</li>
							</ul>
						</div>
						<div style="width: 140px; text-align: center; margin-top: 30px;">
							<span>￥</span><span>${orderinfo.unitprice }</span>
						</div>
						<div style="width: 140px; text-align: center; margin-top: 30px;">${orderinfo.ocunt }</div>
					<%-- 	<div style="width: 120px; text-align: center; margin-top: 30px;">
							<span>￥</span><span>${orderinfo.sumprice }</span>
						</div> --%>
						<div style="width: 120px; text-align: center; margin-top: 30px;">
							<span>￥</span><span>${orderinfo.sumprice }</span>
						</div>
					</div>
					<div style="margin-top: 20px; border-bottom: 1px dashed #d2d1d1;margin-bottom:20px;" class="payline">
					</div>
					</c:forEach>
					<%-- <input type="hidden" name="orderid" id="orderid" />
					<input type="hidden" name="orderdzid" id="orderdzid" />
					<input type="hidden" name="orderhid" id="orderhid" value="${user.hid}" /> --%>
				<!-- 	</form> -->
				</div>
			</div>
			
			<div style="height:600px;"></div>
		</div>
		</div>
	</div>
</body>
</html>